package cate.common.table.role;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;

public class RoleLevelRow extends ERow {

    /** 等级 */
    public int level;
    /** 升级所需经验 */
    public long upExp;
    /** 升级奖励 */
    public String rewardStr;

    public String attrStr;

    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        this.id = xrw.getInteger("主角等级", 0);
        this.level = xrw.getInteger("主角等级", 0);
        this.upExp = xrw.getLong("升级所需经验", 0L);
        this.rewardStr = xrw.getString("升级奖励");
        this.attrStr = xrw.getString("提升属性");
    }
}
